package org.yn.order.service;

import org.yn.emp.domain.Employee;
import org.yn.order.domain.Order;
import org.yn.base.service.IBaseService;
import org.yn.order.dto.PaymentDTO;

import java.math.BigDecimal;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author yn
 * @since 2023-08-02
 */
public interface IOrderService extends IBaseService<Order> {

    BigDecimal getPaymentPrice(Long id);

    void payment(PaymentDTO paymentDTO, Employee loginUser);
}
